package com.example.tests;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import org.testng.annotations.Test;
import com.example.fw.Folders;

public class TestFolderDelete extends TestBase {
	
	@Test
	public void testFolderDelete() { 
		Folders oldFolders  = app.getFolderHelper().getFolders();
		app.getFolderHelper().deleteFolder();
		Folders newFolders = app.getFolderHelper().getFolders();
		assertThat(newFolders, equalTo(oldFolders.withOutAdded(0)));
	}
}
